<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- CSRF Token -->
    <meta name="csrf-token" content="{{ csrf_token() }}">
    <title>“安心北宅”-智慧应急平台</title>
    <!-- Styles -->
    <link href="{{ asset('css/app.css') }}" rel="stylesheet">
    	<style>
    		/*nav.navbar.navbar-default.navbar-static-top{
    			background:url(/images/login01.jpg) no-repeat;padding-left:34px;
    		}*/
    		.yres{
    			padding: 0 !important;
    		}
    	</style>
</head>
<body>
<!--	
<nav class="navbar navbar-default navbar-static-top">
	 	
    <div class="container">
   
        <div class="navbar-header">

            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                    data-target="#app-navbar-collapse">
                <span class="sr-only">Toggle Navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>


            <a class="navbar-brand" href="{{ url('/') }}">
                隐患排查系统
            </a>
        </div>
        <div class="collapse navbar-collapse" id="app-navbar-collapse">
           
            <ul class="nav navbar-nav">
                &nbsp;
            </ul>
           
            <ul class="nav navbar-nav navbar-right">
               
                @if (auth()->guard('admin')->guest())
                    <li><a class="yres" href="{{ url('/admin/login') }}"><img style="height: 52px;" src="/images/logo.png" alt="" /></a></li>
                    {{--<li><a href="{{ route('register') }}">Register</a></li>--}}
                @else
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button"
                           aria-expanded="false" aria-haspopup="true">
                            {{ auth()->guard('admin')->user()->name }} <span class="caret"></span>
                        </a>
                        <ul class="dropdown-menu">
                            <li>
                                <a href="{{ url('/admin/logout')}}"
                                   οnclick="event.preventDefault();
                                                 document.getElementById('logout-form').submit();">
                                    注销
                                </a>
                                <form id="logout-form" action="{{ url('/admin/logout')}}" method="POST"
                                      style="display: none;">
                                    {{ csrf_field() }}
                                </form>
                            </li>
                        </ul>
                    </li>
                @endif
            </ul>
        </div>
    </div>
</nav>
-->
@yield('content')
</body>
</html>